(function (){
	Ext.define('AppView.base.BaseForm',{
		extend:'Ext.form.Panel',
		alias:'widget.baseform',
	    bodyPadding: 10,
	    width: 350,
	    moduleUrl: '',
	    layout: 'anchor',
	    parentWin:null,
	    defaults: {
	        anchor: '100%',
	        xtype:'textfield',
	        margin:'10 10 0 10'
	    },
	    items: [{
	        fieldLabel: 'First Name',
	        name: 'first',
	        allowBlank: false
	    },{
	        fieldLabel: 'Last Name',
	        name: 'last',
	        allowBlank: false
	    }],
		handleLoadSuccess:function(data){
			
		},
	    initComponent:function(){
	    	this.callParent(arguments);
	    }
	})
})()